package com.aidex.quartz.task;

import com.aidex.system.service.WaybillService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author jmy
 * @version 1.1
 * @date 2021-10-06 11:53
 */
@Component("waybillHandleTask")
public class WaybillHandleTask {

    @Autowired
    private WaybillService waybillService;

    /**
     * 执行定时任务
     */
    public void handleTask() {
        waybillService.handleBatchWaybill();
    }
}
